package com.wf.mall.entity;

import cn.hutool.json.JSONUtil;
import com.wf.mall.util.JsonUtil;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 返回信息
 * @author: wf
 **/

@Setter
@Getter
@NoArgsConstructor
public class ResponseBody {
    private String code;
    private String body;

    /**
     * 构造器
     *
     * @param: code 状态码
     * @param: body 返回对象
     * @return: ResponseBody
     * @since: 2021/8/15
     */
    public ResponseBody(String code, String body) {
        this.code = code;
        this.body = body;
    }
}
